"""
文件说明：

"""
from django.conf.urls import url
from rest_framework_jwt.views import obtain_jwt_token

from users import views

urlpatterns = [
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SMS_code_view.as_view()),
    url(r'^usernames/(?P<name>\w+)/count/$', views.User_name.as_view()),
    url(r'^mobiles/(?P<mobile>\w+)/count/$', views.User_mobile.as_view()),
    url(r'^users/$', views.User_register.as_view()),
    url(r'^user/$', views.User_index.as_view()),
    url(r'^email/$', views.User_email.as_view()),
    url(r'^emails/verification/$', views.Email_active.as_view()),
    url(r'^authorizations/$', obtain_jwt_token),

]
